.class public Lcom/estrongs/android/pop/utils/p;
.super Ljava/lang/Object;
.source "FileOperateUtils.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/utils/p$z;,
        Lcom/estrongs/android/pop/utils/p$a0;
    }
.end annotation


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .line 1
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    return-void
.end method

.method private static a(I)I
    .locals 1

    const/4 v0, 0x1

    if-eq p0, v0, :cond_3

    const/4 v0, 0x2

    if-eq p0, v0, :cond_2

    const/4 v0, 0x3

    if-eq p0, v0, :cond_2

    const/4 v0, 0x4

    if-eq p0, v0, :cond_1

    const/4 v0, 0x5

    if-eq p0, v0, :cond_0

    goto :goto_0

    :cond_0
    const/16 p0, 0xe

    goto :goto_0

    :cond_1
    const/16 p0, 0xd

    goto :goto_0

    :cond_2
    const/4 p0, 0x0

    goto :goto_0

    :cond_3
    const/4 p0, -0x1

    :goto_0
    return p0
.end method

.method static synthetic a(Lcom/estrongs/fs/g;)I
    .locals 0

    .line 2
    invoke-static {p0}, Lcom/estrongs/android/pop/utils/p;->c(Lcom/estrongs/fs/g;)I

    move-result p0

    return p0
.end method

.method public static a(Landroid/app/Activity;Lcom/estrongs/android/ui/pcs/e$c;)Lcom/estrongs/android/ui/dialog/q$n;
    .locals 1

    const/4 v0, 0x0

    .line 305
    invoke-static {p0, p1, v0}, Lcom/estrongs/android/pop/utils/p;->a(Landroid/app/Activity;Lcom/estrongs/android/ui/pcs/e$c;Ljava/lang/String;)Lcom/estrongs/android/ui/dialog/q$n;

    move-result-object p0

    return-object p0
.end method

.method public static a(Landroid/app/Activity;Lcom/estrongs/android/ui/pcs/e$c;Ljava/lang/String;)Lcom/estrongs/android/ui/dialog/q$n;
    .locals 7

    const/4 v0, 0x1

    new-array v1, v0, [Ljava/lang/Boolean;

    .line 306
    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    const/4 v2, 0x0

    aput-object v0, v1, v2

    .line 307
    new-instance v0, Lcom/estrongs/android/pop/utils/p$m;

    invoke-direct {v0, p0, p1, v1}, Lcom/estrongs/android/pop/utils/p$m;-><init>(Landroid/app/Activity;Lcom/estrongs/android/ui/pcs/e$c;[Ljava/lang/Boolean;)V

    .line 308
    new-instance v2, Lcom/estrongs/android/pop/utils/p$n;

    invoke-direct {v2, p0, p1, v1}, Lcom/estrongs/android/pop/utils/p$n;-><init>(Landroid/app/Activity;Lcom/estrongs/android/ui/pcs/e$c;[Ljava/lang/Boolean;)V

    .line 309
    new-instance v3, Lcom/estrongs/android/pop/utils/p$o;

    invoke-direct {v3, p0, p1, v1}, Lcom/estrongs/android/pop/utils/p$o;-><init>(Landroid/app/Activity;Lcom/estrongs/android/ui/pcs/e$c;[Ljava/lang/Boolean;)V

    if-nez p2, :cond_0

    const p1, 0x7f11027b

    .line 310
    invoke-virtual {p0, p1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p2

    .line 311
    :cond_0
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p1

    const-wide/16 v4, 0x0

    invoke-virtual {p1, v4, v5}, Lcom/estrongs/android/pop/l;->a(J)Ljava/lang/String;

    move-result-object p1

    const v4, 0x7f110051

    const v5, 0x7f11094b

    const v6, 0x7f1107bf

    if-eqz p1, :cond_1

    .line 312
    new-instance p1, Lcom/estrongs/android/ui/dialog/q$n;

    invoke-direct {p1, p0}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    invoke-virtual {p1, p2}, Lcom/estrongs/android/ui/dialog/q$n;->b(Ljava/lang/CharSequence;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 313
    invoke-virtual {p1, v6}, Lcom/estrongs/android/ui/dialog/q$n;->a(I)Lcom/estrongs/android/ui/dialog/q$n;

    .line 314
    invoke-virtual {p1, v5, v2}, Lcom/estrongs/android/ui/dialog/q$n;->c(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    const p2, 0x7f110ab9

    .line 315
    invoke-virtual {p1, p2, v3}, Lcom/estrongs/android/ui/dialog/q$n;->d(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 316
    invoke-virtual {p1, v4, v0}, Lcom/estrongs/android/ui/dialog/q$n;->e(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    goto :goto_0

    .line 317
    :cond_1
    new-instance p1, Lcom/estrongs/android/ui/dialog/q$n;

    invoke-direct {p1, p0}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    invoke-virtual {p1, p2}, Lcom/estrongs/android/ui/dialog/q$n;->b(Ljava/lang/CharSequence;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 318
    invoke-virtual {p1, v6}, Lcom/estrongs/android/ui/dialog/q$n;->a(I)Lcom/estrongs/android/ui/dialog/q$n;

    .line 319
    invoke-virtual {p1, v5, v2}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 320
    invoke-virtual {p1, v4, v0}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 321
    :goto_0
    new-instance p2, Lcom/estrongs/android/pop/utils/p$p;

    invoke-direct {p2, v1, p0}, Lcom/estrongs/android/pop/utils/p$p;-><init>([Ljava/lang/Boolean;Landroid/app/Activity;)V

    invoke-virtual {p1, p2}, Lcom/estrongs/android/ui/dialog/q$n;->a(Landroid/content/DialogInterface$OnDismissListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 322
    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    return-object p1
.end method

.method public static a(Landroid/content/Context;Ljava/util/List;Lcom/estrongs/fs/g;ZI)Les/w60;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;",
            "Lcom/estrongs/fs/g;",
            "ZI)",
            "Les/w60;"
        }
    .end annotation

    if-nez p2, :cond_0

    const/4 p0, 0x0

    return-object p0

    .line 88
    :cond_0
    new-instance p3, Ljava/util/ArrayList;

    invoke-direct {p3}, Ljava/util/ArrayList;-><init>()V

    .line 89
    invoke-interface {p3, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 90
    new-instance p3, Les/w60;

    invoke-static {p0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v0

    invoke-direct {p3, v0, p1, p2, p4}, Les/w60;-><init>(Lcom/estrongs/fs/f;Ljava/util/List;Lcom/estrongs/fs/g;I)V

    const p1, 0x7f1102b0

    .line 91
    invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p0

    const/4 p1, 0x1

    new-array p1, p1, [Ljava/lang/Object;

    const/4 v0, 0x0

    .line 92
    invoke-interface {p2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p2

    invoke-static {p2}, Lcom/estrongs/android/util/h0;->m(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    aput-object p2, p1, v0

    .line 93
    invoke-static {p0, p1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p0

    invoke-virtual {p3, p0}, Les/s80;->a(Ljava/lang/String;)V

    .line 94
    new-instance p0, Lcom/estrongs/android/pop/utils/b;

    invoke-direct {p0, p4}, Lcom/estrongs/android/pop/utils/b;-><init>(I)V

    invoke-virtual {p3, p0}, Les/s80;->a(Les/z80;)V

    .line 95
    new-instance p0, Lcom/estrongs/android/pop/utils/e;

    invoke-direct {p0, p4}, Lcom/estrongs/android/pop/utils/e;-><init>(I)V

    invoke-virtual {p3, p0}, Les/s80;->a(Les/y80;)V

    .line 96
    new-instance p0, Lcom/estrongs/android/pop/utils/g;

    invoke-direct {p0, p4}, Lcom/estrongs/android/pop/utils/g;-><init>(I)V

    invoke-virtual {p3, p0}, Les/w60;->a(Les/w80;)V

    .line 97
    invoke-virtual {p3}, Les/s80;->d()V

    return-object p3
.end method

.method private static a()Ljava/io/File;
    .locals 2

    .line 271
    new-instance v0, Ljava/io/File;

    sget-object v1, Lcom/estrongs/android/pop/a;->g:Ljava/lang/String;

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 272
    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-nez v1, :cond_0

    .line 273
    invoke-virtual {v0}, Ljava/io/File;->mkdirs()Z

    :cond_0
    return-object v0
.end method

.method private static a(Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    .line 274
    invoke-static {p0}, Lcom/estrongs/fs/util/f;->i(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/pop/utils/p;->b(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string p0, "application/*"

    return-object p0

    .line 275
    :cond_0
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->I(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1b

    invoke-static {p0}, Lcom/estrongs/android/util/n0;->A(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    goto/16 :goto_1

    .line 276
    :cond_1
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->k(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    const-string p0, "audio/*"

    return-object p0

    .line 277
    :cond_2
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->Q(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    const-string p0, "video/*"

    return-object p0

    .line 278
    :cond_3
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->N(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    const-string p0, "text/plain"

    return-object p0

    .line 279
    :cond_4
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->y(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_5

    const-string p0, "text/html"

    return-object p0

    .line 280
    :cond_5
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->S(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_6

    const-string p0, "text/xml"

    return-object p0

    .line 281
    :cond_6
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->R(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_7

    const-string p0, "application/msword"

    return-object p0

    .line 282
    :cond_7
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->v(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_8

    const-string p0, "application/vnd.ms-excel"

    return-object p0

    .line 283
    :cond_8
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->J(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_9

    const-string p0, "application/vnd.ms-powerpoint"

    return-object p0

    .line 284
    :cond_9
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->p(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_a

    const-string p0, "application/x-chm"

    return-object p0

    .line 285
    :cond_a
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->H(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_b

    const-string p0, "application/pdf"

    return-object p0

    .line 286
    :cond_b
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->r(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_c

    const-string p0, "application/epub+zip"

    return-object p0

    .line 287
    :cond_c
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->C(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_d

    const-string p0, "application/x-mobipocket-ebook"

    return-object p0

    .line 288
    :cond_d
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->T(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_e

    const-string p0, "application/x-rar-compressed"

    return-object p0

    .line 289
    :cond_e
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->q(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_f

    const-string p0, "application/esj"

    return-object p0

    .line 290
    :cond_f
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->K(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_10

    const-string p0, "audio/vnd.qcelp"

    return-object p0

    .line 291
    :cond_10
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->l(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_11

    const-string p0, "application/x-bittorrent"

    return-object p0

    .line 292
    :cond_11
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->o(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_12

    const-string p0, "application/x-chess-pgn"

    return-object p0

    .line 293
    :cond_12
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->E(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_13

    const-string p0, "application/vnd.oasis.opendocument.text"

    return-object p0

    .line 294
    :cond_13
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->w(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_14

    const-string p0, "application/x-shockwave-flash"

    return-object p0

    .line 295
    :cond_14
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->D(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_15

    const-string p0, "application/x-nzb"

    return-object p0

    .line 296
    :cond_15
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->M(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_16

    const-string p0, "text/calendar"

    return-object p0

    .line 297
    :cond_16
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->O(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_17

    const-string p0, "application/umd"

    return-object p0

    .line 298
    :cond_17
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->G(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_18

    const-string p0, "application/x-plucker"

    return-object p0

    .line 299
    :cond_18
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->s(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1a

    invoke-static {p0}, Lcom/estrongs/android/util/n0;->t(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_19

    goto :goto_0

    :cond_19
    const-string p0, "text/*"

    return-object p0

    :cond_1a
    :goto_0
    const-string p0, "application/x-expandedbook"

    return-object p0

    :cond_1b
    :goto_1
    const-string p0, "image/*"

    return-object p0
.end method

.method static synthetic a(ILes/s80;II)V
    .locals 1

    .line 98
    invoke-static {}, Les/n30;->c()Les/n30;

    move-result-object p1

    invoke-virtual {p1, p0}, Les/n30;->a(I)Les/m30;

    move-result-object p1

    .line 99
    invoke-static {p3}, Lcom/estrongs/android/pop/utils/p;->a(I)I

    move-result p3

    .line 100
    invoke-static {}, Les/n30;->c()Les/n30;

    move-result-object v0

    invoke-virtual {v0, p0, p3}, Les/n30;->a(II)V

    if-eqz p1, :cond_0

    .line 101
    invoke-static {p2}, Lcom/estrongs/android/pop/utils/p;->a(I)I

    move-result p2

    invoke-interface {p1, p0, p2, p3}, Les/m30;->a(III)V

    :cond_0
    return-void
.end method

.method static synthetic a(ILes/s80;Les/w80$a;)V
    .locals 0

    .line 109
    invoke-static {}, Les/n30;->c()Les/n30;

    move-result-object p1

    invoke-virtual {p1, p0}, Les/n30;->a(I)Les/m30;

    move-result-object p0

    if-eqz p0, :cond_0

    .line 110
    invoke-interface {p0, p2}, Les/m30;->a(Les/w80$a;)V

    :cond_0
    return-void
.end method

.method static synthetic a(ILes/s80;Z)V
    .locals 2

    .line 102
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    const/4 p1, 0x1

    if-eq p0, p1, :cond_3

    const/4 p1, 0x2

    if-eq p0, p1, :cond_2

    const/4 p1, 0x3

    if-eq p0, p1, :cond_1

    const/4 p1, 0x4

    if-eq p0, p1, :cond_0

    goto :goto_0

    .line 103
    :cond_0
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object p1

    invoke-virtual {p1, v0, v1}, Lcom/estrongs/android/pop/o;->g(J)V

    goto :goto_0

    .line 104
    :cond_1
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object p1

    invoke-virtual {p1, v0, v1}, Lcom/estrongs/android/pop/o;->e(J)V

    goto :goto_0

    .line 105
    :cond_2
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object p1

    invoke-virtual {p1, v0, v1}, Lcom/estrongs/android/pop/o;->k(J)V

    goto :goto_0

    .line 106
    :cond_3
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object p1

    invoke-virtual {p1, v0, v1}, Lcom/estrongs/android/pop/o;->i(J)V

    .line 107
    :goto_0
    invoke-static {}, Les/n30;->c()Les/n30;

    move-result-object p1

    invoke-virtual {p1, p0}, Les/n30;->a(I)Les/m30;

    move-result-object p0

    if-eqz p0, :cond_4

    .line 108
    invoke-interface {p0, p2}, Les/m30;->b(Z)V

    :cond_4
    return-void
.end method

.method public static a(Landroid/app/Activity;Lcom/estrongs/android/ui/pcs/f;Ljava/util/List;)V
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Lcom/estrongs/android/ui/pcs/f;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)V"
        }
    .end annotation

    .line 242
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    .line 243
    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->Y()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-eqz v0, :cond_1

    const-string v3, ""

    .line 244
    invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    goto :goto_0

    .line 245
    :cond_0
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p1}, Lcom/estrongs/android/ui/pcs/f;->f()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, "/files"

    invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, "/"

    invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 246
    invoke-static {p1}, Lcom/estrongs/fs/f;->r(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object v0

    .line 247
    invoke-static {p0, p2, v0, v2}, Lcom/estrongs/android/pop/utils/p;->a(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/fs/g;Z)V

    .line 248
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    .line 249
    invoke-static {}, Les/p10;->e()Les/p10;

    move-result-object p2

    invoke-virtual {p2, p1}, Les/p10;->c(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object p2

    if-nez p2, :cond_2

    .line 250
    invoke-static {}, Les/p10;->e()Les/p10;

    move-result-object p2

    invoke-virtual {p2, p0}, Les/p10;->c(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object p0

    if-nez p0, :cond_2

    .line 251
    invoke-static {}, Les/p10;->e()Les/p10;

    move-result-object p0

    new-instance p2, Lcom/estrongs/fs/o;

    invoke-direct {p2, p1, v1}, Lcom/estrongs/fs/o;-><init>(Ljava/lang/String;Z)V

    invoke-virtual {p0, p2}, Les/p10;->a(Lcom/estrongs/fs/g;)V

    goto :goto_1

    :cond_1
    :goto_0
    const v0, 0x7f110797

    new-array v2, v2, [Ljava/lang/Object;

    .line 252
    sget-object v3, Landroid/os/Build;->MODEL:Ljava/lang/String;

    aput-object v3, v2, v1

    invoke-virtual {p0, v0, v2}, Landroid/app/Activity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    .line 253
    new-instance v1, Lcom/estrongs/android/ui/dialog/w;

    const v2, 0x7f1101af

    .line 254
    invoke-virtual {p0, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, p0, v2, v0}, Lcom/estrongs/android/ui/dialog/w;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 255
    new-instance v0, Lcom/estrongs/android/pop/utils/p$j;

    invoke-direct {v0, p1, p0, p2}, Lcom/estrongs/android/pop/utils/p$j;-><init>(Lcom/estrongs/android/ui/pcs/f;Landroid/app/Activity;Ljava/util/List;)V

    invoke-virtual {v1, v0}, Lcom/estrongs/android/ui/dialog/w;->a(Lcom/estrongs/android/ui/dialog/w$e;)V

    .line 256
    invoke-virtual {v1}, Lcom/estrongs/android/ui/dialog/w;->a()V

    :cond_2
    :goto_1
    return-void
.end method

.method public static a(Landroid/app/Activity;Lcom/estrongs/fs/g;)V
    .locals 5

    .line 8
    instance-of v0, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-eqz v0, :cond_0

    .line 9
    move-object v0, p0

    check-cast v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 10
    :goto_0
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->N0(Ljava/lang/String;)Z

    move-result v1

    const/4 v2, 0x1

    if-eqz v1, :cond_1

    const p1, 0x7f1101c4

    .line 11
    invoke-static {p0, p1, v2}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return-void

    .line 12
    :cond_1
    new-instance v1, Lcom/estrongs/android/ui/dialog/d0;

    const v3, 0x7f110064

    .line 13
    invoke-virtual {p0, v3}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-interface {p1}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object v4

    invoke-direct {v1, p0, v3, v4}, Lcom/estrongs/android/ui/dialog/d0;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 14
    new-instance v3, Lcom/estrongs/android/pop/utils/p$a;

    invoke-direct {v3, p1, p0, v0}, Lcom/estrongs/android/pop/utils/p$a;-><init>(Lcom/estrongs/fs/g;Landroid/app/Activity;Ljava/lang/String;)V

    invoke-virtual {v1, v3}, Lcom/estrongs/android/ui/dialog/d0;->a(Lcom/estrongs/android/ui/dialog/d0$c;)V

    .line 15
    invoke-interface {p1}, Lcom/estrongs/fs/g;->i()Lcom/estrongs/fs/l;

    move-result-object p0

    invoke-virtual {p0}, Lcom/estrongs/fs/l;->c()Z

    move-result p0

    invoke-virtual {v1, p0}, Lcom/estrongs/android/ui/dialog/d0;->b(Z)V

    .line 16
    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/dialog/d0;->c(Z)V

    .line 17
    invoke-virtual {v1}, Lcom/estrongs/android/ui/dialog/d0;->show()V

    return-void
.end method

.method public static a(Landroid/app/Activity;Ljava/lang/String;)V
    .locals 1
    .param p1    # Ljava/lang/String;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param

    const/4 v0, 0x0

    .line 127
    invoke-static {p0, p1, v0}, Lcom/estrongs/android/pop/utils/p;->a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public static a(Landroid/app/Activity;Ljava/lang/String;Landroid/content/DialogInterface$OnDismissListener;)V
    .locals 2

    .line 300
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->V(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 301
    invoke-static {}, Lcom/estrongs/android/ui/pcs/f;->k()Lcom/estrongs/android/ui/pcs/f;

    move-result-object v0

    .line 302
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->M1(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {v0}, Lcom/estrongs/android/ui/pcs/f;->i()Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 303
    :cond_0
    :try_start_0
    new-instance v0, Lcom/estrongs/android/ui/dialog/p;

    invoke-direct {v0, p0, p1, p2}, Lcom/estrongs/android/ui/dialog/p;-><init>(Landroid/app/Activity;Ljava/lang/String;Landroid/content/DialogInterface$OnDismissListener;)V

    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/p;->a()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p0

    .line 304
    invoke-virtual {p0}, Ljava/lang/Exception;->printStackTrace()V

    :goto_0
    return-void
.end method

.method public static a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V
    .locals 25
    .param p1    # Ljava/lang/String;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param
    .param p2    # Ljava/lang/String;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param
    .annotation build Landroid/annotation/TargetApi;
        value = 0xb
    .end annotation

    move-object/from16 v1, p0

    move-object/from16 v0, p1

    const-string v2, "external"

    const-string v3, "image/*"

    const-string v4, "image/"

    const-string v5, "/"

    const-string v6, "_id"

    if-eqz v0, :cond_2b

    .line 128
    invoke-virtual/range {p1 .. p1}, Ljava/lang/String;->length()I

    move-result v7

    if-nez v7, :cond_0

    goto/16 :goto_1d

    .line 129
    :cond_0
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v7

    const/4 v9, 0x1

    const/4 v10, 0x0

    if-nez v7, :cond_24

    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/h0;->s1(Ljava/lang/String;)Z

    move-result v7

    if-eqz v7, :cond_1

    goto/16 :goto_1b

    .line 130
    :cond_1
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/h0;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    .line 131
    new-instance v11, Landroid/content/Intent;

    const-string v12, "android.intent.action.SEND"

    invoke-direct {v11, v12}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 132
    new-instance v12, Ljava/io/File;

    invoke-direct {v12, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {v1, v12}, Lcom/estrongs/android/util/l;->a(Landroid/content/Context;Ljava/io/File;)Landroid/net/Uri;

    move-result-object v12

    .line 133
    invoke-virtual {v11, v9}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 134
    invoke-static {v7}, Lcom/estrongs/fs/util/f;->i(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v13

    .line 135
    invoke-static {v13}, Lcom/estrongs/android/pop/utils/p;->b(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_3

    .line 136
    invoke-static {v7}, Lcom/estrongs/android/util/n0;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_2

    .line 137
    invoke-static {v7}, Lcom/estrongs/android/util/n0;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_2

    const-string v14, "*/*"

    .line 138
    invoke-virtual {v0, v14}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v14

    if-eqz v14, :cond_2

    goto :goto_0

    :cond_2
    move-object v14, v0

    goto :goto_1

    :cond_3
    :goto_0
    const/4 v14, 0x0

    :goto_1
    :try_start_0
    new-array v0, v9, [Ljava/lang/String;

    aput-object v6, v0, v10

    const-string v18, "_data=?"

    new-array v15, v9, [Ljava/lang/String;

    aput-object v7, v15, v10

    .line 139
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v16

    sget-object v17, Landroid/provider/MediaStore$Images$Media;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;

    const/16 v20, 0x0

    move-object/from16 v19, v15

    move-object/from16 v15, v16

    move-object/from16 v16, v17

    move-object/from16 v17, v0

    invoke-virtual/range {v15 .. v20}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v15
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-eqz v15, :cond_5

    .line 140
    :try_start_1
    invoke-interface {v15}, Landroid/database/Cursor;->getCount()I

    move-result v0

    if-lez v0, :cond_5

    .line 141
    invoke-interface {v15}, Landroid/database/Cursor;->moveToFirst()Z

    .line 142
    invoke-interface {v15, v10}, Landroid/database/Cursor;->getInt(I)I

    move-result v0

    .line 143
    sget-object v16, Landroid/provider/MediaStore$Images$Media;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;

    invoke-virtual/range {v16 .. v16}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object v8

    .line 144
    new-instance v10, Ljava/lang/StringBuilder;

    invoke-direct {v10}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v10, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v10, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v12

    if-eqz v14, :cond_4

    .line 145
    invoke-virtual {v14, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
    .catchall {:try_start_1 .. :try_end_1} :catchall_8

    if-eqz v0, :cond_4

    move-object v0, v14

    goto :goto_2

    :cond_4
    move-object v0, v3

    goto :goto_2

    :catch_0
    move-exception v0

    goto :goto_3

    :cond_5
    const/4 v0, 0x0

    :goto_2
    if-eqz v15, :cond_6

    .line 146
    invoke-interface {v15}, Landroid/database/Cursor;->close()V

    :cond_6
    move-object v8, v0

    goto :goto_4

    :catchall_0
    move-exception v0

    const/4 v8, 0x0

    goto/16 :goto_1a

    :catch_1
    move-exception v0

    const/4 v15, 0x0

    .line 147
    :goto_3
    :try_start_2
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_8

    if-eqz v15, :cond_7

    .line 148
    invoke-interface {v15}, Landroid/database/Cursor;->close()V

    :cond_7
    const/4 v8, 0x0

    :goto_4
    const-string v10, "audio/*"

    const-string v15, "audio/"

    if-nez v8, :cond_f

    :try_start_3
    new-array v0, v9, [Ljava/lang/String;

    const/16 v16, 0x0

    aput-object v6, v0, v16

    const-string v21, "_data=?"
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_6
    .catchall {:try_start_3 .. :try_end_3} :catchall_1

    move-object/from16 p1, v8

    :try_start_4
    new-array v8, v9, [Ljava/lang/String;

    aput-object v7, v8, v16

    .line 149
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v18

    sget-object v19, Landroid/provider/MediaStore$Audio$Media;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;

    const/16 v23, 0x0

    move-object/from16 v20, v0

    move-object/from16 v22, v8

    invoke-virtual/range {v18 .. v23}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v8
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_5
    .catchall {:try_start_4 .. :try_end_4} :catchall_1

    if-eqz v8, :cond_b

    .line 150
    :try_start_5
    invoke-interface {v8}, Landroid/database/Cursor;->getCount()I

    move-result v0

    if-lez v0, :cond_b

    .line 151
    invoke-interface {v8}, Landroid/database/Cursor;->moveToFirst()Z

    const/4 v9, 0x0

    .line 152
    invoke-interface {v8, v9}, Landroid/database/Cursor;->getInt(I)I

    move-result v0

    .line 153
    sget-object v9, Landroid/provider/MediaStore$Audio$Media;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;

    invoke-virtual {v9}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object v9
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_4
    .catchall {:try_start_5 .. :try_end_5} :catchall_2

    move-object/from16 p2, v12

    .line 154
    :try_start_6
    new-instance v12, Ljava/lang/StringBuilder;

    invoke-direct {v12}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v12, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v12, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v12, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v12}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v9
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_3
    .catchall {:try_start_6 .. :try_end_6} :catchall_2

    if-eqz v14, :cond_8

    .line 155
    :try_start_7
    invoke-virtual {v14, v15}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_8

    move-object v12, v9

    move-object v0, v14

    goto :goto_6

    :cond_8
    const-string v0, "3gpp"

    .line 156
    invoke-virtual {v13, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_9

    const-string v0, "audio/3gpp"

    :goto_5
    move-object v12, v9

    goto :goto_6

    :cond_9
    const-string v0, "3gp"

    .line 157
    invoke-virtual {v13, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_a

    const-string v0, "audio/3gp"
    :try_end_7
    .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_7} :catch_2
    .catchall {:try_start_7 .. :try_end_7} :catchall_2

    goto :goto_5

    :cond_a
    move-object v12, v9

    move-object v0, v10

    goto :goto_6

    :catch_2
    move-exception v0

    move-object v12, v9

    goto :goto_8

    :catch_3
    move-exception v0

    move-object/from16 v12, p2

    goto :goto_8

    :catch_4
    move-exception v0

    move-object/from16 p2, v12

    goto :goto_8

    :cond_b
    move-object/from16 p2, v12

    move-object/from16 v0, p1

    move-object/from16 v12, p2

    :goto_6
    if-eqz v8, :cond_c

    .line 158
    invoke-interface {v8}, Landroid/database/Cursor;->close()V

    :cond_c
    move-object v8, v0

    goto :goto_a

    :catch_5
    move-exception v0

    goto :goto_7

    :catchall_1
    move-exception v0

    const/4 v8, 0x0

    goto :goto_9

    :catch_6
    move-exception v0

    move-object/from16 p1, v8

    :goto_7
    move-object/from16 p2, v12

    const/4 v8, 0x0

    .line 159
    :goto_8
    :try_start_8
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_8
    .catchall {:try_start_8 .. :try_end_8} :catchall_2

    if-eqz v8, :cond_d

    .line 160
    invoke-interface {v8}, Landroid/database/Cursor;->close()V

    :cond_d
    move-object/from16 v8, p1

    goto :goto_a

    :catchall_2
    move-exception v0

    :goto_9
    if-eqz v8, :cond_e

    invoke-interface {v8}, Landroid/database/Cursor;->close()V

    .line 161
    :cond_e
    throw v0

    :cond_f
    move-object/from16 p1, v8

    move-object/from16 p2, v12

    :goto_a
    const-string v9, "video/*"

    const-string v13, "video/"

    move-object/from16 p1, v8

    if-nez v8, :cond_15

    const/4 v8, 0x1

    :try_start_9
    new-array v0, v8, [Ljava/lang/String;

    const/16 v16, 0x0

    aput-object v6, v0, v16

    const-string v22, "_data=?"
    :try_end_9
    .catch Ljava/lang/Exception; {:try_start_9 .. :try_end_9} :catch_a
    .catchall {:try_start_9 .. :try_end_9} :catchall_3

    move-object/from16 p2, v12

    :try_start_a
    new-array v12, v8, [Ljava/lang/String;

    aput-object v7, v12, v16

    .line 162
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v19

    sget-object v20, Landroid/provider/MediaStore$Video$Media;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;

    const/16 v24, 0x0

    move-object/from16 v21, v0

    move-object/from16 v23, v12

    invoke-virtual/range {v19 .. v24}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v8
    :try_end_a
    .catch Ljava/lang/Exception; {:try_start_a .. :try_end_a} :catch_9
    .catchall {:try_start_a .. :try_end_a} :catchall_3

    if-eqz v8, :cond_11

    .line 163
    :try_start_b
    invoke-interface {v8}, Landroid/database/Cursor;->getCount()I

    move-result v0

    if-lez v0, :cond_11

    .line 164
    invoke-interface {v8}, Landroid/database/Cursor;->moveToFirst()Z

    const/4 v12, 0x0

    .line 165
    invoke-interface {v8, v12}, Landroid/database/Cursor;->getInt(I)I

    move-result v0

    .line 166
    sget-object v12, Landroid/provider/MediaStore$Video$Media;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;

    invoke-virtual {v12}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object v12

    .line 167
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v1
    :try_end_b
    .catch Ljava/lang/Exception; {:try_start_b .. :try_end_b} :catch_8
    .catchall {:try_start_b .. :try_end_b} :catchall_4

    if-eqz v14, :cond_10

    .line 168
    :try_start_c
    invoke-virtual {v14, v13}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0
    :try_end_c
    .catch Ljava/lang/Exception; {:try_start_c .. :try_end_c} :catch_7
    .catchall {:try_start_c .. :try_end_c} :catchall_4

    if-eqz v0, :cond_10

    move-object v12, v1

    move-object v0, v14

    goto :goto_b

    :catch_7
    move-exception v0

    move-object v12, v1

    goto :goto_d

    :cond_10
    move-object v12, v1

    move-object v0, v9

    goto :goto_b

    :catch_8
    move-exception v0

    move-object/from16 v12, p2

    goto :goto_d

    :cond_11
    move-object/from16 v0, p1

    move-object/from16 v12, p2

    :goto_b
    if-eqz v8, :cond_12

    .line 169
    invoke-interface {v8}, Landroid/database/Cursor;->close()V

    :cond_12
    move-object v8, v0

    goto :goto_f

    :catch_9
    move-exception v0

    move-object/from16 v12, p2

    goto :goto_c

    :catchall_3
    move-exception v0

    const/4 v8, 0x0

    goto :goto_e

    :catch_a
    move-exception v0

    move-object/from16 p2, v12

    :goto_c
    const/4 v8, 0x0

    .line 170
    :goto_d
    :try_start_d
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_d
    .catchall {:try_start_d .. :try_end_d} :catchall_4

    if-eqz v8, :cond_13

    .line 171
    invoke-interface {v8}, Landroid/database/Cursor;->close()V

    :cond_13
    move-object/from16 v8, p1

    goto :goto_f

    :catchall_4
    move-exception v0

    :goto_e
    if-eqz v8, :cond_14

    invoke-interface {v8}, Landroid/database/Cursor;->close()V

    .line 172
    :cond_14
    throw v0

    :cond_15
    move-object/from16 p2, v12

    :goto_f
    if-nez v8, :cond_19

    const/4 v0, 0x2

    :try_start_e
    new-array v0, v0, [Ljava/lang/String;

    const/4 v1, 0x0

    aput-object v6, v0, v1

    const-string v5, "mime_type"

    const/4 v6, 0x1

    aput-object v5, v0, v6

    const-string v22, "_data=?"

    new-array v5, v6, [Ljava/lang/String;

    aput-object v7, v5, v1

    .line 173
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v19

    invoke-static {v2}, Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v20

    const/16 v24, 0x0

    move-object/from16 v21, v0

    move-object/from16 v23, v5

    invoke-virtual/range {v19 .. v24}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v1
    :try_end_e
    .catch Ljava/lang/Exception; {:try_start_e .. :try_end_e} :catch_d
    .catchall {:try_start_e .. :try_end_e} :catchall_6

    if-eqz v1, :cond_16

    .line 174
    :try_start_f
    invoke-interface {v1}, Landroid/database/Cursor;->getCount()I

    move-result v0

    if-lez v0, :cond_16

    .line 175
    invoke-interface {v1}, Landroid/database/Cursor;->moveToFirst()Z

    const/4 v5, 0x0

    .line 176
    invoke-interface {v1, v5}, Landroid/database/Cursor;->getInt(I)I

    const/4 v5, 0x1

    .line 177
    invoke-interface {v1, v5}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v6
    :try_end_f
    .catch Ljava/lang/Exception; {:try_start_f .. :try_end_f} :catch_c
    .catchall {:try_start_f .. :try_end_f} :catchall_5

    .line 178
    :try_start_10
    invoke-static {v2}, Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {v0}, Landroid/net/Uri;->toString()Ljava/lang/String;
    :try_end_10
    .catch Ljava/lang/Exception; {:try_start_10 .. :try_end_10} :catch_b
    .catchall {:try_start_10 .. :try_end_10} :catchall_5

    move-object v8, v6

    goto :goto_11

    :catch_b
    move-exception v0

    goto :goto_10

    :catchall_5
    move-exception v0

    move-object v8, v1

    goto :goto_13

    :catch_c
    move-exception v0

    move-object v6, v8

    :goto_10
    move-object v8, v1

    goto :goto_12

    :cond_16
    :goto_11
    if-eqz v1, :cond_19

    .line 179
    invoke-interface {v1}, Landroid/database/Cursor;->close()V

    goto :goto_14

    :catchall_6
    move-exception v0

    const/4 v8, 0x0

    goto :goto_13

    :catch_d
    move-exception v0

    move-object v6, v8

    const/4 v8, 0x0

    .line 180
    :goto_12
    :try_start_11
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_11
    .catchall {:try_start_11 .. :try_end_11} :catchall_7

    if-eqz v8, :cond_17

    .line 181
    invoke-interface {v8}, Landroid/database/Cursor;->close()V

    :cond_17
    move-object v8, v6

    goto :goto_14

    :catchall_7
    move-exception v0

    :goto_13
    if-eqz v8, :cond_18

    invoke-interface {v8}, Landroid/database/Cursor;->close()V

    .line 182
    :cond_18
    throw v0

    :cond_19
    :goto_14
    if-nez v8, :cond_1a

    goto :goto_15

    :cond_1a
    move-object v14, v8

    :goto_15
    if-nez v14, :cond_1b

    .line 183
    invoke-static {v7}, Lcom/estrongs/android/pop/utils/p;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v14

    :cond_1b
    if-eqz v14, :cond_1c

    .line 184
    invoke-virtual {v11, v14}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;

    :cond_1c
    const-string v0, "android.intent.extra.STREAM"

    .line 185
    invoke-virtual {v11, v0, v12}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;

    .line 186
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v0

    const/4 v1, 0x0

    .line 187
    invoke-virtual {v0, v11, v1}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_1e

    const/4 v1, 0x0

    .line 188
    :goto_16
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v2

    if-ge v1, v2, :cond_1e

    .line 189
    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Landroid/content/pm/ResolveInfo;

    iget-object v2, v2, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;

    iget-object v2, v2, Landroid/content/pm/ActivityInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;

    iget-object v2, v2, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    invoke-virtual {v2}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v2

    const-string v5, "bluetooth"

    .line 190
    invoke-virtual {v2, v5}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v2

    const/4 v5, -0x1

    if-eq v2, v5, :cond_1d

    const/16 v16, 0x1

    goto :goto_17

    :cond_1d
    add-int/lit8 v1, v1, 0x1

    goto :goto_16

    :cond_1e
    const/16 v16, 0x0

    :goto_17
    if-nez v16, :cond_22

    .line 191
    invoke-virtual {v11}, Landroid/content/Intent;->getType()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_22

    .line 192
    invoke-virtual {v0, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1f

    .line 193
    invoke-virtual {v11, v3}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_18

    .line 194
    :cond_1f
    invoke-virtual {v0, v15}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_20

    .line 195
    invoke-virtual {v11, v10}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_18

    .line 196
    :cond_20
    invoke-virtual {v0, v13}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_21

    .line 197
    invoke-virtual {v11, v9}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_18

    :cond_21
    const-string v0, "application/*"

    .line 198
    invoke-virtual {v11, v0}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;

    :cond_22
    :goto_18
    const-string v0, "fromEs"

    const/4 v1, 0x1

    .line 199
    invoke-virtual {v11, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const v0, 0x7f110072

    move-object/from16 v1, p0

    .line 200
    :try_start_12
    invoke-virtual {v1, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    .line 201
    invoke-static {v11, v0}, Landroid/content/Intent;->createChooser(Landroid/content/Intent;Ljava/lang/CharSequence;)Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V
    :try_end_12
    .catch Landroid/content/ActivityNotFoundException; {:try_start_12 .. :try_end_12} :catch_e

    goto :goto_19

    :catch_e
    move-exception v0

    .line 202
    invoke-virtual {v0}, Landroid/content/ActivityNotFoundException;->printStackTrace()V

    :goto_19
    return-void

    :catchall_8
    move-exception v0

    move-object v8, v15

    :goto_1a
    if-eqz v8, :cond_23

    .line 203
    invoke-interface {v8}, Landroid/database/Cursor;->close()V

    .line 204
    :cond_23
    throw v0

    .line 205
    :cond_24
    :goto_1b
    invoke-static/range {p1 .. p1}, Les/j30;->p(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_27

    .line 206
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/h0;->M1(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_26

    invoke-static {}, Lcom/estrongs/android/ui/pcs/f;->k()Lcom/estrongs/android/ui/pcs/f;

    move-result-object v2

    invoke-virtual {v2}, Lcom/estrongs/android/ui/pcs/f;->i()Z

    move-result v2

    if-nez v2, :cond_26

    .line 207
    new-instance v2, Lcom/estrongs/android/pop/utils/p$g;

    invoke-direct {v2, v1, v0}, Lcom/estrongs/android/pop/utils/p$g;-><init>(Landroid/app/Activity;Ljava/lang/String;)V

    .line 208
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/h0;->m0(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v3, "\u4e34\u65f6\u7528\u6237"

    invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_25

    .line 209
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    const-wide/16 v3, 0x0

    invoke-virtual {v0, v3, v4}, Lcom/estrongs/android/pop/l;->a(J)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_25

    .line 210
    new-instance v0, Lcom/estrongs/android/ui/pcs/c;

    invoke-direct {v0, v1}, Lcom/estrongs/android/ui/pcs/c;-><init>(Landroid/content/Context;)V

    .line 211
    invoke-virtual {v0, v2}, Lcom/estrongs/android/ui/pcs/c;->a(Lcom/estrongs/android/ui/pcs/e$c;)V

    .line 212
    invoke-virtual {v0}, Lcom/estrongs/android/ui/pcs/c;->b()V

    goto :goto_1c

    .line 213
    :cond_25
    new-instance v0, Lcom/estrongs/android/ui/pcs/e;

    invoke-direct {v0, v1}, Lcom/estrongs/android/ui/pcs/e;-><init>(Landroid/content/Context;)V

    .line 214
    invoke-virtual {v0, v2}, Lcom/estrongs/android/ui/pcs/e;->a(Lcom/estrongs/android/ui/pcs/e$c;)V

    .line 215
    invoke-virtual {v0}, Lcom/estrongs/android/ui/pcs/e;->show()V

    goto :goto_1c

    .line 216
    :cond_26
    invoke-static/range {p0 .. p1}, Lcom/estrongs/android/pop/utils/p;->b(Landroid/app/Activity;Ljava/lang/String;)V

    :goto_1c
    return-void

    .line 217
    :cond_27
    invoke-static/range {p0 .. p0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/estrongs/fs/f;->g(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object v0

    .line 218
    invoke-interface {v0}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "[@\\/:*?\"<>|()\u3000 ]"

    const-string v4, "_"

    invoke-virtual {v2, v3, v4}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    const-string v3, ""

    .line 219
    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_28

    invoke-static {v2}, Lcom/estrongs/fs/util/f;->o(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_29

    .line 220
    :cond_28
    new-instance v2, Ljava/text/SimpleDateFormat;

    const-string v3, "yyyyMMdd_HHmmss_SSS"

    invoke-direct {v2, v3}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    .line 221
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "download_"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    new-instance v4, Ljava/util/Date;

    invoke-direct {v4}, Ljava/util/Date;-><init>()V

    invoke-virtual {v2, v4}, Ljava/text/DateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 222
    :cond_29
    invoke-static/range {p2 .. p2}, Lcom/estrongs/android/util/o0;->b(Ljava/lang/CharSequence;)Z

    move-result v3

    if-eqz v3, :cond_2a

    move-object/from16 v3, p2

    .line 223
    invoke-static {v2, v3}, Lcom/estrongs/android/util/h0;->l(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 224
    invoke-interface {v0, v2}, Lcom/estrongs/fs/g;->setName(Ljava/lang/String;)V

    :cond_2a
    const-string v3, "item_paste_name"

    .line 225
    invoke-interface {v0, v3, v2}, Lcom/estrongs/fs/g;->a(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    .line 226
    invoke-static/range {p0 .. p0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v2

    .line 227
    invoke-static {}, Lcom/estrongs/android/pop/utils/p;->a()Ljava/io/File;

    move-result-object v3

    invoke-virtual {v3}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v3

    .line 228
    invoke-virtual {v2, v3}, Lcom/estrongs/fs/f;->g(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object v2

    .line 229
    new-instance v3, Les/z60;

    invoke-static/range {p0 .. p0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v4

    invoke-direct {v3, v4, v0, v2}, Les/z60;-><init>(Lcom/estrongs/fs/f;Lcom/estrongs/fs/g;Lcom/estrongs/fs/g;)V

    const/4 v4, 0x0

    .line 230
    invoke-virtual {v3, v4}, Les/z60;->d(Z)V

    .line 231
    iget-object v5, v3, Les/s80;->c:Les/w80$a;

    iput-boolean v4, v5, Les/w80$a;->k:Z

    .line 232
    invoke-virtual {v3, v4}, Les/z60;->i(Z)V

    .line 233
    invoke-virtual {v3, v4}, Les/s80;->c(Z)V

    const v5, 0x7f1102b0

    .line 234
    invoke-virtual {v1, v5}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v5

    const/4 v6, 0x1

    new-array v6, v6, [Ljava/lang/Object;

    .line 235
    invoke-interface {v2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v7

    invoke-static {v7}, Lcom/estrongs/android/util/h0;->m(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    aput-object v7, v6, v4

    .line 236
    invoke-static {v5, v6}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v5}, Les/s80;->a(Ljava/lang/String;)V

    .line 237
    new-instance v5, Lcom/estrongs/android/pop/utils/p$h;

    invoke-direct {v5, v1, v2, v0}, Lcom/estrongs/android/pop/utils/p$h;-><init>(Landroid/app/Activity;Lcom/estrongs/fs/g;Lcom/estrongs/fs/g;)V

    invoke-virtual {v3, v5}, Les/s80;->a(Les/z80;)V

    .line 238
    new-instance v0, Lcom/estrongs/android/pop/utils/p$i;

    const v2, 0x7f1108e3

    invoke-virtual {v1, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/estrongs/android/pop/utils/p$i;-><init>(Landroid/app/Activity;Ljava/lang/String;Les/s80;Z)V

    const v2, 0x7f1107fd

    .line 239
    invoke-virtual {v1, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/ui/dialog/a1;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/estrongs/android/ui/dialog/a1;

    .line 240
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/a1;->show()V

    .line 241
    invoke-virtual {v3}, Les/s80;->d()V

    :cond_2b
    :goto_1d
    return-void
.end method

.method public static a(Landroid/app/Activity;Ljava/util/List;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)V"
        }
    .end annotation

    .line 323
    invoke-static {p0}, Les/g40;->d(Landroid/content/Context;)Ljava/util/List;

    move-result-object v0

    .line 324
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-gtz v0, :cond_0

    .line 325
    invoke-static {}, Les/u30;->e()Les/u30;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, p0, v1}, Les/u30;->a(Landroid/app/Activity;I)V

    .line 326
    new-instance v0, Lcom/estrongs/android/pop/utils/f;

    invoke-direct {v0, p0, p1}, Lcom/estrongs/android/pop/utils/f;-><init>(Landroid/app/Activity;Ljava/util/List;)V

    invoke-static {v0}, Les/u30;->a(Les/u30$b;)V

    goto :goto_0

    .line 327
    :cond_0
    invoke-static {p0, p1}, Lcom/estrongs/android/pop/utils/p;->c(Landroid/app/Activity;Ljava/util/List;)V

    :goto_0
    return-void
.end method

.method public static a(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/fs/g;Z)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;",
            "Lcom/estrongs/fs/g;",
            "Z)V"
        }
    .end annotation

    const/4 v0, 0x0

    .line 41
    invoke-static {p0, p1, p2, p3, v0}, Lcom/estrongs/android/pop/utils/p;->a(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/fs/g;ZZ)V

    return-void
.end method

.method static synthetic a(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/fs/g;ZLes/z80;)V
    .locals 0

    .line 1
    invoke-static {p0, p1, p2, p3, p4}, Lcom/estrongs/android/pop/utils/p;->b(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/fs/g;ZLes/z80;)V

    return-void
.end method

.method public static a(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/fs/g;ZZ)V
    .locals 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;",
            "Lcom/estrongs/fs/g;",
            "ZZ)V"
        }
    .end annotation

    const/4 v5, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move v3, p3

    move v4, p4

    .line 42
    invoke-static/range {v0 .. v5}, Lcom/estrongs/android/pop/utils/p;->a(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/fs/g;ZZLes/z80;)V

    return-void
.end method

.method public static a(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/fs/g;ZZLes/z80;)V
    .locals 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;",
            "Lcom/estrongs/fs/g;",
            "ZZ",
            "Les/z80;",
            ")V"
        }
    .end annotation

    if-nez p2, :cond_0

    return-void

    :cond_0
    if-eqz p3, :cond_6

    .line 43
    invoke-interface {p2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p3

    invoke-static {p3}, Lcom/estrongs/android/util/h0;->N1(Ljava/lang/String;)Z

    move-result p3

    const/4 v0, 0x0

    if-nez p3, :cond_5

    .line 44
    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p3

    check-cast p3, Lcom/estrongs/fs/g;

    invoke-interface {p3}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p3

    invoke-static {p3}, Lcom/estrongs/android/util/h0;->N1(Ljava/lang/String;)Z

    move-result p3

    if-eqz p3, :cond_1

    .line 45
    invoke-interface {p2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p3

    invoke-static {p3}, Lcom/estrongs/android/util/h0;->M1(Ljava/lang/String;)Z

    move-result p3

    if-nez p3, :cond_1

    goto/16 :goto_0

    .line 46
    :cond_1
    new-instance p3, Ljava/util/ArrayList;

    invoke-direct {p3}, Ljava/util/ArrayList;-><init>()V

    .line 47
    invoke-interface {p3, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 48
    new-instance v1, Les/z60;

    .line 49
    invoke-static {p0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v2

    invoke-direct {v1, v2, p1, p2}, Les/z60;-><init>(Lcom/estrongs/fs/f;Ljava/util/List;Lcom/estrongs/fs/g;)V

    .line 50
    invoke-virtual {v1, p4}, Les/z60;->i(Z)V

    const v2, 0x7f1102b0

    .line 51
    invoke-virtual {p0, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x1

    new-array v4, v3, [Ljava/lang/Object;

    .line 52
    invoke-interface {p2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Lcom/estrongs/android/util/h0;->m(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    aput-object v5, v4, v0

    .line 53
    invoke-static {v2, v4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Les/s80;->a(Ljava/lang/String;)V

    .line 54
    invoke-virtual {v1, v3}, Les/z60;->e(Z)V

    if-eqz p5, :cond_2

    .line 55
    invoke-virtual {v1, p5}, Les/s80;->a(Les/z80;)V

    .line 56
    :cond_2
    instance-of p5, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-eqz p5, :cond_3

    .line 57
    move-object p5, p0

    check-cast p5, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p5}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object p5

    .line 58
    new-instance v2, Lcom/estrongs/android/pop/utils/h;

    invoke-direct {v2, p2, p5, p0}, Lcom/estrongs/android/pop/utils/h;-><init>(Lcom/estrongs/fs/g;Lcom/estrongs/android/view/FileGridViewWrapper;Landroid/app/Activity;)V

    invoke-virtual {v1, v2}, Les/s80;->a(Les/z80;)V

    .line 59
    new-instance p2, Lcom/estrongs/android/pop/utils/p$u;

    invoke-direct {p2, p4, p3, p0}, Lcom/estrongs/android/pop/utils/p$u;-><init>(ZLjava/util/List;Landroid/app/Activity;)V

    invoke-virtual {v1, p2}, Les/s80;->a(Les/y80;)V

    :cond_3
    const p2, 0x7f1108e3

    .line 60
    invoke-virtual {p0, p2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p2

    .line 61
    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/fs/g;

    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->N1(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_4

    const p1, 0x7f1101b1

    .line 62
    invoke-virtual {p0, p1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p2

    .line 63
    :cond_4
    new-instance p1, Lcom/estrongs/android/ui/dialog/a1;

    invoke-direct {p1, p0, p2, v1}, Lcom/estrongs/android/ui/dialog/a1;-><init>(Landroid/app/Activity;Ljava/lang/String;Les/s80;)V

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/a1;->show()V

    .line 64
    invoke-virtual {v1}, Les/s80;->d()V

    return-void

    :cond_5
    :goto_0
    const p1, 0x7f11077e

    .line 65
    invoke-static {p0, p1, v0}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return-void

    .line 66
    :cond_6
    invoke-interface {p2}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object p3

    invoke-static {p3}, Lcom/estrongs/android/util/h0;->B2(Ljava/lang/String;)Z

    move-result p3

    if-eqz p3, :cond_9

    .line 67
    invoke-static {}, Lcom/estrongs/android/ui/pcs/f;->k()Lcom/estrongs/android/ui/pcs/f;

    move-result-object p3

    .line 68
    invoke-virtual {p3}, Lcom/estrongs/android/ui/pcs/f;->i()Z

    move-result p3

    if-eqz p3, :cond_7

    .line 69
    invoke-static {p0, p1, p2, p4, p5}, Lcom/estrongs/android/pop/utils/p;->b(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/fs/g;ZLes/z80;)V

    goto :goto_1

    .line 70
    :cond_7
    new-instance p3, Lcom/estrongs/android/pop/utils/p$v;

    move-object v0, p3

    move-object v1, p0

    move-object v2, p1

    move-object v3, p2

    move v4, p4

    move-object v5, p5

    invoke-direct/range {v0 .. v5}, Lcom/estrongs/android/pop/utils/p$v;-><init>(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/fs/g;ZLes/z80;)V

    .line 71
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p1

    const-wide/16 p4, 0x0

    invoke-virtual {p1, p4, p5}, Lcom/estrongs/android/pop/l;->a(J)Ljava/lang/String;

    move-result-object p1

    if-eqz p1, :cond_8

    .line 72
    new-instance p1, Lcom/estrongs/android/ui/pcs/c;

    invoke-direct {p1, p0}, Lcom/estrongs/android/ui/pcs/c;-><init>(Landroid/content/Context;)V

    .line 73
    invoke-virtual {p1, p3}, Lcom/estrongs/android/ui/pcs/c;->a(Lcom/estrongs/android/ui/pcs/e$c;)V

    .line 74
    invoke-virtual {p1}, Lcom/estrongs/android/ui/pcs/c;->b()V

    goto :goto_1

    .line 75
    :cond_8
    new-instance p1, Lcom/estrongs/android/ui/pcs/e;

    invoke-direct {p1, p0}, Lcom/estrongs/android/ui/pcs/e;-><init>(Landroid/content/Context;)V

    .line 76
    invoke-virtual {p1, p3}, Lcom/estrongs/android/ui/pcs/e;->a(Lcom/estrongs/android/ui/pcs/e$c;)V

    .line 77
    invoke-virtual {p1}, Lcom/estrongs/android/ui/pcs/e;->show()V

    goto :goto_1

    .line 78
    :cond_9
    invoke-static {p0, p1, p2, p4, p5}, Lcom/estrongs/android/pop/utils/p;->b(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/fs/g;ZLes/z80;)V

    :goto_1
    return-void
.end method

.method public static a(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/fs/g;ZZLes/z80;Z)V
    .locals 9
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;",
            "Lcom/estrongs/fs/g;",
            "ZZ",
            "Les/z80;",
            "Z)V"
        }
    .end annotation

    if-eqz p1, :cond_2

    .line 35
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_0

    goto :goto_0

    :cond_0
    if-eqz p6, :cond_1

    .line 36
    new-instance p6, Lcom/estrongs/android/ui/dialog/s;

    invoke-direct {p6, p0, p1, p2, p3}, Lcom/estrongs/android/ui/dialog/s;-><init>(Landroid/content/Context;Ljava/util/List;Lcom/estrongs/fs/g;Z)V

    const v0, 0x7f11029e

    .line 37
    invoke-virtual {p0, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-instance v8, Lcom/estrongs/android/pop/utils/p$s;

    move-object v1, v8

    move-object v2, p0

    move-object v3, p1

    move-object v4, p2

    move v5, p3

    move v6, p4

    move-object v7, p5

    invoke-direct/range {v1 .. v7}, Lcom/estrongs/android/pop/utils/p$s;-><init>(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/fs/g;ZZLes/z80;)V

    invoke-virtual {p6, v0, v8}, Lcom/estrongs/android/ui/dialog/q;->setConfirmButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    const p1, 0x7f110299

    .line 38
    invoke-virtual {p0, p1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p0

    new-instance p1, Lcom/estrongs/android/pop/utils/p$t;

    invoke-direct {p1}, Lcom/estrongs/android/pop/utils/p$t;-><init>()V

    invoke-virtual {p6, p0, p1}, Lcom/estrongs/android/ui/dialog/q;->setCancelButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    .line 39
    invoke-virtual {p6}, Lcom/estrongs/android/ui/dialog/q;->show()V

    goto :goto_0

    .line 40
    :cond_1
    invoke-static/range {p0 .. p5}, Lcom/estrongs/android/pop/utils/p;->a(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/fs/g;ZZLes/z80;)V

    :cond_2
    :goto_0
    return-void
.end method

.method public static a(Landroid/app/Activity;Ljava/util/List;Z)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;Z)V"
        }
    .end annotation

    .line 257
    new-instance v0, Les/b70;

    invoke-direct {v0, p0, p1}, Les/b70;-><init>(Landroid/app/Activity;Ljava/util/List;)V

    const p1, 0x7f11003d

    .line 258
    invoke-virtual {p0, p1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Les/s80;->a(Ljava/lang/String;)V

    .line 259
    instance-of p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-eqz p1, :cond_0

    .line 260
    move-object p1, p0

    check-cast p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 261
    instance-of v1, p1, Lcom/estrongs/android/view/x;

    if-eqz v1, :cond_0

    .line 262
    check-cast p1, Lcom/estrongs/android/view/x;

    .line 263
    invoke-virtual {p1}, Lcom/estrongs/android/view/x;->G0()Les/z80;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 264
    invoke-virtual {p1}, Lcom/estrongs/android/view/x;->G0()Les/z80;

    move-result-object p1

    invoke-virtual {v0, p1}, Les/s80;->a(Les/z80;)V

    :cond_0
    if-eqz p2, :cond_1

    .line 265
    new-instance p1, Lcom/estrongs/android/pop/utils/p$l;

    invoke-direct {p1, p0, v0}, Lcom/estrongs/android/pop/utils/p$l;-><init>(Landroid/app/Activity;Les/b70;)V

    invoke-virtual {v0, p1}, Les/s80;->a(Les/z80;)V

    .line 266
    :cond_1
    new-instance p1, Lcom/estrongs/android/ui/dialog/a1;

    const p2, 0x7f1108e6

    invoke-virtual {p0, p2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p2

    invoke-direct {p1, p0, p2, v0}, Lcom/estrongs/android/ui/dialog/a1;-><init>(Landroid/app/Activity;Ljava/lang/String;Les/s80;)V

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/a1;->show()V

    .line 267
    invoke-virtual {v0}, Les/s80;->d()V

    .line 268
    :try_start_0
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p0

    if-eqz p0, :cond_2

    const-string p1, "function"

    const-string p2, "decrypt_dialog_show"

    .line 269
    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/statistics/b;->a(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p0

    .line 270
    invoke-virtual {p0}, Ljava/lang/Exception;->printStackTrace()V

    :cond_2
    :goto_0
    return-void
.end method

.method static synthetic a(Landroid/app/Activity;Ljava/util/List;ZLjava/lang/String;)V
    .locals 0

    if-eqz p2, :cond_0

    .line 328
    invoke-static {p0, p1}, Lcom/estrongs/android/pop/utils/p;->c(Landroid/app/Activity;Ljava/util/List;)V

    :cond_0
    return-void
.end method

.method public static a(Landroid/content/Context;)V
    .locals 2

    .line 119
    new-instance v0, Lcom/estrongs/android/ui/dialog/q$n;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v1, 0x7f1101b1

    .line 120
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    const v1, 0x7f1101b0

    .line 121
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(I)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v1, Lcom/estrongs/android/pop/utils/p$d;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/utils/p$d;-><init>(Landroid/content/Context;)V

    const p0, 0x7f1102a2

    .line 122
    invoke-virtual {v0, p0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance p0, Lcom/estrongs/android/pop/utils/p$c;

    invoke-direct {p0}, Lcom/estrongs/android/pop/utils/p$c;-><init>()V

    const v1, 0x7f11029d

    .line 123
    invoke-virtual {v0, v1, p0}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 124
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    return-void
.end method

.method static synthetic a(Lcom/estrongs/fs/g;Lcom/estrongs/android/view/FileGridViewWrapper;Landroid/app/Activity;Les/s80;II)V
    .locals 0

    const/4 p3, 0x5

    if-eq p5, p3, :cond_0

    const/4 p3, 0x4

    if-ne p5, p3, :cond_3

    .line 79
    :cond_0
    invoke-interface {p0}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p3

    invoke-static {p3}, Lcom/estrongs/android/icon/loader/c;->a(Ljava/lang/String;)V

    if-eqz p1, :cond_3

    .line 80
    invoke-interface {p0}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object p3

    invoke-static {p3}, Lcom/estrongs/android/util/h0;->v1(Ljava/lang/String;)Z

    move-result p3

    if-eqz p3, :cond_1

    .line 81
    invoke-static {p0}, Lcom/estrongs/android/pop/utils/p;->c(Lcom/estrongs/fs/g;)I

    .line 82
    invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    new-instance p0, Lcom/estrongs/android/pop/utils/a;

    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/utils/a;-><init>(Lcom/estrongs/android/view/FileGridViewWrapper;)V

    invoke-virtual {p2, p0}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    goto :goto_0

    .line 83
    :cond_1
    invoke-interface {p0}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object p3

    invoke-static {p3}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result p3

    if-eqz p3, :cond_2

    const-string p3, "child_count"

    .line 84
    invoke-interface {p0, p3}, Lcom/estrongs/fs/g;->a(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p3

    if-eqz p3, :cond_2

    .line 85
    invoke-static {p0}, Lcom/estrongs/android/pop/utils/p;->b(Lcom/estrongs/fs/g;)I

    goto :goto_0

    .line 86
    :cond_2
    invoke-interface {p0}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object p0

    invoke-static {p0}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_3

    .line 87
    invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    new-instance p0, Lcom/estrongs/android/pop/utils/a;

    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/utils/a;-><init>(Lcom/estrongs/android/view/FileGridViewWrapper;)V

    invoke-virtual {p2, p0}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    :cond_3
    :goto_0
    return-void
.end method

.method public static a(Les/sp;Ljava/util/List;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Les/sp;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)V"
        }
    .end annotation

    .line 18
    instance-of v0, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-eqz v0, :cond_0

    .line 19
    move-object v0, p0

    check-cast v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 20
    :goto_0
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->N0(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 21
    invoke-interface {p0}, Les/tp;->f()Landroid/content/Context;

    move-result-object p0

    const p1, 0x7f1101c4

    const/4 v0, 0x1

    invoke-static {p0, p1, v0}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return-void

    .line 22
    :cond_1
    new-instance v1, Lcom/estrongs/android/ui/dialog/k;

    invoke-direct {v1, p0, p1, v0}, Lcom/estrongs/android/ui/dialog/k;-><init>(Les/sp;Ljava/util/List;Ljava/lang/String;)V

    invoke-virtual {v1}, Lcom/estrongs/android/ui/dialog/k;->a()V

    return-void
.end method

.method public static a(Les/sp;Ljava/util/List;Lcom/estrongs/fs/g;Z)V
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Les/sp;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;",
            "Lcom/estrongs/fs/g;",
            "Z)V"
        }
    .end annotation

    .line 111
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 112
    :cond_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 113
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/fs/g;

    .line 114
    invoke-interface {v1}, Lcom/estrongs/fs/g;->i()Lcom/estrongs/fs/l;

    move-result-object v2

    invoke-virtual {v2}, Lcom/estrongs/fs/l;->b()Z

    move-result v2

    if-eqz v2, :cond_1

    .line 115
    :try_start_0
    invoke-interface {p0}, Les/tp;->f()Landroid/content/Context;

    move-result-object v2

    invoke-static {v2}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v2

    const/4 v3, 0x0

    new-instance v4, Lcom/estrongs/android/pop/utils/p$x;

    invoke-direct {v4}, Lcom/estrongs/android/pop/utils/p$x;-><init>()V

    invoke-virtual {v2, v1, v3, v4}, Lcom/estrongs/fs/f;->a(Lcom/estrongs/fs/g;ZLcom/estrongs/fs/h;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
    :try_end_0
    .catch Lcom/estrongs/fs/FileSystemException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v1

    .line 116
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0

    .line 117
    :cond_1
    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 118
    :cond_2
    invoke-interface {p0}, Les/sp;->l()Landroid/app/Activity;

    move-result-object p0

    invoke-static {p0, v0, p2, p3}, Lcom/estrongs/android/pop/utils/p;->a(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/fs/g;Z)V

    return-void
.end method

.method public static a(Les/sp;Ljava/util/List;ZZLes/z80;ZZZ)V
    .locals 9
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Les/sp;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;ZZ",
            "Les/z80;",
            "ZZZ)V"
        }
    .end annotation

    .line 7
    new-instance v0, Lcom/estrongs/android/pop/utils/p$z;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Lcom/estrongs/android/pop/utils/p$z;-><init>(Lcom/estrongs/android/pop/utils/p$a;)V

    move-object v1, p0

    move-object v2, p1

    move v3, p2

    move v4, p3

    move-object v5, p4

    move v6, p5

    move v7, p6

    move/from16 v8, p7

    invoke-static/range {v0 .. v8}, Lcom/estrongs/android/pop/utils/p$z;->a(Lcom/estrongs/android/pop/utils/p$z;Les/sp;Ljava/util/List;ZZLes/z80;ZZZ)V

    return-void
.end method

.method public static a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 7

    const/4 v3, 0x1

    const-wide/16 v4, 0x0

    const/4 v6, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    .line 329
    invoke-static/range {v0 .. v6}, Lcom/estrongs/android/pop/utils/p;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZJI)V

    return-void
.end method

.method public static a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZJI)V
    .locals 2

    .line 330
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    :try_start_0
    const-string v1, "action"

    .line 331
    invoke-virtual {v0, v1, p0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p0, "from"

    .line 332
    invoke-virtual {v0, p0, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p0, "f_tp"

    .line 333
    invoke-virtual {v0, p0, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p0, "result"

    if-eqz p3, :cond_0

    const-string p1, "suc"

    goto :goto_0

    :cond_0
    const-string p1, "fail"

    .line 334
    :goto_0
    invoke-virtual {v0, p0, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p0, "f_size"

    .line 335
    invoke-virtual {v0, p0, p4, p5}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;

    const-string p0, "code"

    .line 336
    invoke-virtual {v0, p0, p6}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    .line 337
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p0

    const-string p1, "f_operate"

    invoke-virtual {p0, p1, v0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method

.method public static a(Landroid/app/Activity;Lcom/estrongs/fs/g;Ljava/lang/String;Ljava/lang/String;ZZ)Z
    .locals 13

    move-object v7, p0

    move-object v8, p2

    .line 23
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v4

    const/4 v9, 0x0

    if-eqz v8, :cond_3

    .line 24
    invoke-static/range {p3 .. p3}, Lcom/estrongs/android/util/h0;->V1(Ljava/lang/String;)Z

    move-result v0

    const/4 v10, 0x1

    if-eqz v0, :cond_0

    .line 25
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    .line 26
    invoke-virtual {v0, v4, p2}, Lcom/estrongs/android/pop/l;->m(Ljava/lang/String;Ljava/lang/String;)V

    .line 27
    invoke-interface {p1, p2}, Lcom/estrongs/fs/g;->setName(Ljava/lang/String;)V

    return v10

    :cond_0
    new-array v11, v10, [Z

    .line 28
    new-instance v12, Lcom/estrongs/android/pop/utils/p$r;

    move-object v0, v12

    move-object v1, p0

    move-object v2, p1

    move-object v3, p2

    move-object v5, v11

    move/from16 v6, p5

    invoke-direct/range {v0 .. v6}, Lcom/estrongs/android/pop/utils/p$r;-><init>(Landroid/app/Activity;Lcom/estrongs/fs/g;Ljava/lang/String;Ljava/lang/String;[ZZ)V

    if-eqz p4, :cond_2

    .line 29
    invoke-static {v12}, Lcom/estrongs/android/util/o;->a(Ljava/lang/Runnable;)V

    .line 30
    invoke-static/range {p3 .. p3}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const v0, 0x7f110953

    const/4 v1, 0x2

    new-array v1, v1, [Ljava/lang/Object;

    .line 31
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object v2

    aput-object v2, v1, v9

    aput-object v8, v1, v10

    invoke-virtual {p0, v0, v1}, Landroid/app/Activity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    .line 32
    invoke-static {p0, v0}, Lcom/estrongs/android/pop/utils/i;->b(Landroid/content/Context;Ljava/lang/CharSequence;)V

    :cond_1
    return v10

    .line 33
    :cond_2
    invoke-interface {v12}, Ljava/lang/Runnable;->run()V

    .line 34
    aget-boolean v0, v11, v9

    return v0

    :cond_3
    return v9
.end method

.method public static a(Les/sp;Ljava/util/List;Lcom/estrongs/android/view/FileGridViewWrapper;)Z
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Les/sp;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;",
            "Lcom/estrongs/android/view/FileGridViewWrapper;",
            ")Z"
        }
    .end annotation

    .line 3
    new-instance v0, Lcom/estrongs/android/pop/utils/p$z;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Lcom/estrongs/android/pop/utils/p$z;-><init>(Lcom/estrongs/android/pop/utils/p$a;)V

    invoke-virtual {v0, p0, p1, p2, v1}, Lcom/estrongs/android/pop/utils/p$z;->a(Les/sp;Ljava/util/List;Lcom/estrongs/android/view/FileGridViewWrapper;Les/z80;)Z

    move-result p0

    return p0
.end method

.method public static a(Les/sp;Ljava/util/List;Lcom/estrongs/android/view/FileGridViewWrapper;Les/z80;ILjava/lang/String;Z)Z
    .locals 10
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Les/sp;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;",
            "Lcom/estrongs/android/view/FileGridViewWrapper;",
            "Les/z80;",
            "I",
            "Ljava/lang/String;",
            "Z)Z"
        }
    .end annotation

    .line 4
    new-instance v0, Lcom/estrongs/android/pop/utils/p$z;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Lcom/estrongs/android/pop/utils/p$z;-><init>(Lcom/estrongs/android/pop/utils/p$a;)V

    const/4 v5, 0x0

    const/4 v9, 0x0

    move-object v1, p0

    move-object v2, p1

    move-object v3, p2

    move-object v4, p3

    move v6, p4

    move-object v7, p5

    move/from16 v8, p6

    invoke-virtual/range {v0 .. v9}, Lcom/estrongs/android/pop/utils/p$z;->a(Les/sp;Ljava/util/List;Lcom/estrongs/android/view/FileGridViewWrapper;Les/z80;Lcom/estrongs/android/pop/utils/p$a0;ILjava/lang/String;ZLjava/lang/String;)Z

    move-result v0

    return v0
.end method

.method public static a(Les/sp;Ljava/util/List;Les/z80;Lcom/estrongs/android/pop/utils/p$a0;)Z
    .locals 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Les/sp;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;",
            "Les/z80;",
            "Lcom/estrongs/android/pop/utils/p$a0;",
            ")Z"
        }
    .end annotation

    .line 5
    new-instance v0, Lcom/estrongs/android/pop/utils/p$z;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Lcom/estrongs/android/pop/utils/p$z;-><init>(Lcom/estrongs/android/pop/utils/p$a;)V

    const/4 v3, 0x0

    move-object v1, p0

    move-object v2, p1

    move-object v4, p2

    move-object v5, p3

    invoke-virtual/range {v0 .. v5}, Lcom/estrongs/android/pop/utils/p$z;->a(Les/sp;Ljava/util/List;Lcom/estrongs/android/view/FileGridViewWrapper;Les/z80;Lcom/estrongs/android/pop/utils/p$a0;)Z

    move-result p0

    return p0
.end method

.method public static a(Les/sp;Ljava/util/List;Ljava/lang/String;Les/z80;Lcom/estrongs/android/pop/utils/p$a0;)Z
    .locals 10
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Les/sp;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;",
            "Ljava/lang/String;",
            "Les/z80;",
            "Lcom/estrongs/android/pop/utils/p$a0;",
            ")Z"
        }
    .end annotation

    .line 6
    new-instance v0, Lcom/estrongs/android/pop/utils/p$z;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Lcom/estrongs/android/pop/utils/p$z;-><init>(Lcom/estrongs/android/pop/utils/p$a;)V

    const/4 v3, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    const/4 v8, 0x0

    move-object v1, p0

    move-object v2, p1

    move-object v4, p3

    move-object v5, p4

    move-object v9, p2

    invoke-virtual/range {v0 .. v9}, Lcom/estrongs/android/pop/utils/p$z;->a(Les/sp;Ljava/util/List;Lcom/estrongs/android/view/FileGridViewWrapper;Les/z80;Lcom/estrongs/android/pop/utils/p$a0;ILjava/lang/String;ZLjava/lang/String;)Z

    move-result p0

    return p0
.end method

.method private static a(Ljava/util/List;)Z
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)Z"
        }
    .end annotation

    const/4 v0, 0x0

    const/4 v1, 0x0

    .line 125
    :goto_0
    invoke-interface {p0}, Ljava/util/List;->size()I

    move-result v2

    if-ge v1, v2, :cond_1

    .line 126
    invoke-interface {p0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    invoke-static {v2}, Lcom/estrongs/android/util/n0;->k(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_0

    return v0

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    const/4 p0, 0x1

    return p0
.end method

.method public static b(Lcom/estrongs/fs/g;)I
    .locals 4

    .line 13
    new-instance v0, Ljava/io/File;

    invoke-interface {p0}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 14
    invoke-virtual {v0}, Ljava/io/File;->list()[Ljava/lang/String;

    move-result-object v1

    if-nez v1, :cond_0

    const/4 v1, 0x0

    goto :goto_0

    .line 15
    :cond_0
    array-length v1, v1

    .line 16
    :goto_0
    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    const-string v3, "child_count"

    invoke-interface {p0, v3, v2}, Lcom/estrongs/fs/g;->a(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    .line 17
    instance-of v2, p0, Lcom/estrongs/fs/impl/local/d;

    if-eqz v2, :cond_1

    .line 18
    check-cast p0, Lcom/estrongs/fs/impl/local/d;

    invoke-virtual {v0}, Ljava/io/File;->lastModified()J

    move-result-wide v2

    invoke-virtual {p0, v2, v3}, Lcom/estrongs/fs/impl/local/d;->a(J)V

    :cond_1
    return v1
.end method

.method public static b(Landroid/app/Activity;Ljava/lang/String;)V
    .locals 1

    .line 21
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->V(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    const/4 v0, 0x0

    invoke-static {p0, p1, v0}, Lcom/estrongs/android/pop/utils/p;->a(Landroid/app/Activity;Ljava/lang/String;Landroid/content/DialogInterface$OnDismissListener;)V

    return-void
.end method

.method public static b(Landroid/app/Activity;Ljava/util/List;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)V"
        }
    .end annotation

    .line 22
    invoke-static {}, Lcom/estrongs/android/ui/pcs/f;->k()Lcom/estrongs/android/ui/pcs/f;

    move-result-object v0

    .line 23
    invoke-virtual {v0}, Lcom/estrongs/android/ui/pcs/f;->i()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 24
    invoke-static {p0, v0, p1}, Lcom/estrongs/android/pop/utils/p;->a(Landroid/app/Activity;Lcom/estrongs/android/ui/pcs/f;Ljava/util/List;)V

    goto :goto_0

    .line 25
    :cond_0
    new-instance v1, Lcom/estrongs/android/pop/utils/p$q;

    invoke-direct {v1, p0, v0, p1}, Lcom/estrongs/android/pop/utils/p$q;-><init>(Landroid/app/Activity;Lcom/estrongs/android/ui/pcs/f;Ljava/util/List;)V

    const p1, 0x7f1103ec

    .line 26
    invoke-virtual {p0, p1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p1

    .line 27
    invoke-static {p0, v1, p1}, Lcom/estrongs/android/pop/utils/p;->a(Landroid/app/Activity;Lcom/estrongs/android/ui/pcs/e$c;Ljava/lang/String;)Lcom/estrongs/android/ui/dialog/q$n;

    move-result-object p0

    const/4 p1, 0x0

    .line 28
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/dialog/q$n;->a(Landroid/content/DialogInterface$OnDismissListener;)Lcom/estrongs/android/ui/dialog/q$n;

    :goto_0
    return-void
.end method

.method private static b(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/fs/g;ZLes/z80;)V
    .locals 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;",
            "Lcom/estrongs/fs/g;",
            "Z",
            "Les/z80;",
            ")V"
        }
    .end annotation

    if-eqz p1, :cond_2

    .line 1
    invoke-interface {p1}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    .line 2
    :cond_0
    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6, p1}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V

    .line 3
    new-instance v0, Les/i70;

    invoke-static {p0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v1

    invoke-direct {v0, v1, p1, p2}, Les/i70;-><init>(Lcom/estrongs/fs/f;Ljava/util/List;Lcom/estrongs/fs/g;)V

    if-eqz p4, :cond_1

    .line 4
    invoke-virtual {v0, p4}, Les/s80;->a(Les/z80;)V

    .line 5
    :cond_1
    new-instance p4, Lcom/estrongs/android/pop/utils/p$w;

    move-object v1, p4

    move-object v2, v0

    move-object v3, p0

    move-object v4, p2

    move-object v5, p1

    invoke-direct/range {v1 .. v6}, Lcom/estrongs/android/pop/utils/p$w;-><init>(Les/i70;Landroid/app/Activity;Lcom/estrongs/fs/g;Ljava/util/List;Ljava/util/List;)V

    invoke-virtual {v0, p4}, Les/s80;->a(Les/y80;)V

    .line 6
    invoke-virtual {v0, p3}, Les/z60;->i(Z)V

    const p1, 0x7f110674

    .line 7
    invoke-virtual {p0, p1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p1

    const/4 p3, 0x1

    new-array p4, p3, [Ljava/lang/Object;

    const/4 v1, 0x0

    .line 8
    invoke-interface {p2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p2

    invoke-static {p2}, Lcom/estrongs/android/util/h0;->m(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    aput-object p2, p4, v1

    .line 9
    invoke-static {p1, p4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Les/s80;->a(Ljava/lang/String;)V

    .line 10
    invoke-virtual {v0, p3}, Les/z60;->e(Z)V

    .line 11
    new-instance p1, Lcom/estrongs/android/ui/dialog/a1;

    const p2, 0x7f1108ee

    invoke-virtual {p0, p2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p2

    invoke-direct {p1, p0, p2, v0}, Lcom/estrongs/android/ui/dialog/a1;-><init>(Landroid/app/Activity;Ljava/lang/String;Les/s80;)V

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/a1;->show()V

    .line 12
    invoke-virtual {v0}, Les/s80;->d()V

    :cond_2
    :goto_0
    return-void
.end method

.method private static b(Ljava/lang/String;)Z
    .locals 0

    const/4 p0, 0x0

    return p0
.end method

.method private static b(Ljava/util/List;)Z
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)Z"
        }
    .end annotation

    const/4 v0, 0x0

    const/4 v1, 0x0

    .line 19
    :goto_0
    invoke-interface {p0}, Ljava/util/List;->size()I

    move-result v2

    if-ge v1, v2, :cond_1

    .line 20
    invoke-interface {p0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    invoke-static {v2}, Lcom/estrongs/android/util/n0;->z(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_0

    return v0

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    const/4 p0, 0x1

    return p0
.end method

.method private static c(Lcom/estrongs/fs/g;)I
    .locals 3

    .line 1
    new-instance v0, Ljava/io/File;

    invoke-interface {p0}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    new-instance v1, Lcom/estrongs/android/pop/utils/p$e;

    invoke-direct {v1}, Lcom/estrongs/android/pop/utils/p$e;-><init>()V

    invoke-virtual {v0, v1}, Ljava/io/File;->list(Ljava/io/FilenameFilter;)[Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_0

    const/4 v0, 0x0

    goto :goto_0

    .line 2
    :cond_0
    array-length v0, v0

    .line 3
    :goto_0
    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    const-string v2, "item_count"

    invoke-interface {p0, v2, v1}, Lcom/estrongs/fs/g;->a(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    return v0
.end method

.method public static c(Ljava/util/List;)Ljava/lang/String;
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)",
            "Ljava/lang/String;"
        }
    .end annotation

    if-eqz p0, :cond_2

    .line 11
    invoke-interface {p0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_0

    goto :goto_2

    .line 12
    :cond_0
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const/4 v1, 0x0

    .line 13
    invoke-interface {p0}, Ljava/util/List;->size()I

    move-result v2

    :goto_0
    if-ge v1, v2, :cond_1

    .line 14
    invoke-interface {p0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/estrongs/fs/g;

    .line 15
    invoke-static {v3}, Lcom/estrongs/android/util/n0;->b(Lcom/estrongs/fs/g;)I

    move-result v3

    .line 16
    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    .line 17
    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result v4

    add-int/lit8 v4, v4, 0x1

    .line 18
    :try_start_0
    invoke-virtual {v0, v3, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception v3

    .line 19
    invoke-virtual {v3}, Lorg/json/JSONException;->printStackTrace()V

    :goto_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 20
    :cond_1
    invoke-virtual {v0}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object p0

    return-object p0

    :cond_2
    :goto_2
    const-string p0, ""

    return-object p0
.end method

.method public static c(Landroid/app/Activity;Ljava/util/List;)V
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)V"
        }
    .end annotation

    .line 4
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->J()Ljava/lang/String;

    move-result-object v0

    .line 5
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    const v0, 0x7f110797

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    sget-object v3, Landroid/os/Build;->MODEL:Ljava/lang/String;

    aput-object v3, v1, v2

    .line 6
    invoke-virtual {p0, v0, v1}, Landroid/app/Activity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    .line 7
    :cond_0
    new-instance v1, Lcom/estrongs/android/ui/dialog/w;

    const v2, 0x7f1101af

    invoke-virtual {p0, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    .line 8
    invoke-static {p0}, Les/g40;->d(Landroid/content/Context;)Ljava/util/List;

    move-result-object v3

    invoke-direct {v1, p0, v2, v0, v3}, Lcom/estrongs/android/ui/dialog/w;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)V

    .line 9
    new-instance v0, Lcom/estrongs/android/pop/utils/p$k;

    invoke-direct {v0, p0, p1}, Lcom/estrongs/android/pop/utils/p$k;-><init>(Landroid/app/Activity;Ljava/util/List;)V

    invoke-virtual {v1, v0}, Lcom/estrongs/android/ui/dialog/w;->a(Lcom/estrongs/android/ui/dialog/w$e;)V

    .line 10
    invoke-virtual {v1}, Lcom/estrongs/android/ui/dialog/w;->a()V

    return-void
.end method

.method public static d(Landroid/app/Activity;Ljava/util/List;)V
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)V"
        }
    .end annotation

    .line 1
    invoke-static {}, Lcom/estrongs/android/ui/pcs/f;->k()Lcom/estrongs/android/ui/pcs/f;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/ui/pcs/f;->i()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-static {}, Lcom/estrongs/android/ui/pcs/f;->k()Lcom/estrongs/android/ui/pcs/f;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/ui/pcs/f;->j()Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    :cond_0
    const/4 v0, 0x1

    new-array v0, v0, [Ljava/lang/Object;

    const/4 v1, 0x0

    .line 2
    invoke-static {}, Lcom/estrongs/android/ui/pcs/f;->k()Lcom/estrongs/android/ui/pcs/f;

    move-result-object v2

    invoke-virtual {v2}, Lcom/estrongs/android/ui/pcs/f;->h()Ljava/lang/String;

    move-result-object v2

    aput-object v2, v0, v1

    const-string v1, "pcs://%1s@pcs/files/"

    invoke-static {v1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    .line 3
    new-instance v1, Lcom/estrongs/android/widget/c;

    new-instance v2, Lcom/estrongs/android/pop/utils/p$y;

    invoke-direct {v2}, Lcom/estrongs/android/pop/utils/p$y;-><init>()V

    const/16 v3, 0x10

    invoke-direct {v1, p0, v0, v2, v3}, Lcom/estrongs/android/widget/c;-><init>(Landroid/content/Context;Ljava/lang/String;Lcom/estrongs/fs/h;I)V

    const v0, 0x7f11029e

    .line 4
    invoke-virtual {p0, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-instance v2, Lcom/estrongs/android/pop/utils/p$b;

    invoke-direct {v2, p0, p1, v1}, Lcom/estrongs/android/pop/utils/p$b;-><init>(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/android/widget/c;)V

    invoke-virtual {v1, v0, v2}, Lcom/estrongs/android/widget/c;->b(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    const p1, 0x7f110299

    .line 5
    invoke-virtual {p0, p1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p1

    const/4 v0, 0x0

    invoke-virtual {v1, p1, v0}, Lcom/estrongs/android/widget/c;->a(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    const p1, 0x7f1101b1

    .line 6
    invoke-virtual {p0, p1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p0

    invoke-virtual {v1, p0}, Lcom/estrongs/android/widget/c;->a(Ljava/lang/CharSequence;)V

    .line 7
    invoke-virtual {v1}, Lcom/estrongs/android/widget/c;->n()V

    goto :goto_1

    .line 8
    :cond_1
    :goto_0
    invoke-static {p0}, Lcom/estrongs/android/pop/utils/p;->a(Landroid/content/Context;)V

    :goto_1
    return-void
.end method

.method public static e(Landroid/app/Activity;Ljava/util/List;)V
    .locals 9
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    if-eqz p1, :cond_9

    .line 1
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_0

    goto/16 :goto_3

    :cond_0
    const/4 v0, 0x0

    .line 2
    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v1

    const/4 v2, 0x1

    if-eqz v1, :cond_4

    .line 3
    invoke-static {p0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v1

    invoke-static {}, Lcom/estrongs/android/pop/utils/p;->a()Ljava/io/File;

    move-result-object v3

    invoke-virtual {v3}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lcom/estrongs/fs/f;->g(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object v1

    .line 4
    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    .line 5
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    .line 6
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_3

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/String;

    .line 7
    invoke-static {p0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v6

    invoke-virtual {v6, v5}, Lcom/estrongs/fs/f;->g(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object v5

    .line 8
    invoke-interface {v5}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object v6

    const-string v7, "[@\\/:*?\"<>|()\u3000 ]"

    const-string v8, "_"

    invoke-virtual {v6, v7, v8}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v6

    const-string v7, ""

    .line 9
    invoke-virtual {v7, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-nez v7, :cond_1

    invoke-static {v6}, Lcom/estrongs/fs/util/f;->o(Ljava/lang/String;)Z

    move-result v7

    if-nez v7, :cond_2

    .line 10
    :cond_1
    new-instance v6, Ljava/text/SimpleDateFormat;

    const-string v7, "yyyyMMdd_HHmmss_SSS"

    invoke-direct {v6, v7}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    .line 11
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    const-string v8, "download_"

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    new-instance v8, Ljava/util/Date;

    invoke-direct {v8}, Ljava/util/Date;-><init>()V

    invoke-virtual {v6, v8}, Ljava/text/DateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    :cond_2
    const-string v7, "item_paste_name"

    .line 12
    invoke-interface {v5, v7, v6}, Lcom/estrongs/fs/g;->a(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    .line 13
    invoke-interface {v3, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 14
    new-instance v5, Ljava/io/File;

    invoke-interface {v1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v7

    invoke-direct {v5, v7, v6}, Ljava/io/File;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v5}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v5

    invoke-interface {v4, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 15
    :cond_3
    new-instance p1, Les/z60;

    .line 16
    invoke-static {p0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v5

    invoke-direct {p1, v5, v3, v1}, Les/z60;-><init>(Lcom/estrongs/fs/f;Ljava/util/List;Lcom/estrongs/fs/g;)V

    .line 17
    iget-object v3, p1, Les/s80;->c:Les/w80$a;

    iput-boolean v0, v3, Les/w80$a;->k:Z

    .line 18
    invoke-virtual {p1, v0}, Les/z60;->i(Z)V

    .line 19
    invoke-virtual {p1, v0}, Les/s80;->c(Z)V

    const v3, 0x7f1102b0

    .line 20
    invoke-virtual {p0, v3}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v3

    new-array v2, v2, [Ljava/lang/Object;

    .line 21
    invoke-interface {v1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->m(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    aput-object v1, v2, v0

    .line 22
    invoke-static {v3, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Les/s80;->a(Ljava/lang/String;)V

    .line 23
    new-instance v0, Lcom/estrongs/android/pop/utils/p$f;

    invoke-direct {v0, p0, v4}, Lcom/estrongs/android/pop/utils/p$f;-><init>(Landroid/app/Activity;Ljava/util/List;)V

    invoke-virtual {p1, v0}, Les/s80;->a(Les/z80;)V

    .line 24
    new-instance v0, Lcom/estrongs/android/ui/dialog/a1;

    const v1, 0x7f1108e3

    invoke-virtual {p0, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1, p1}, Lcom/estrongs/android/ui/dialog/a1;-><init>(Landroid/app/Activity;Ljava/lang/String;Les/s80;)V

    const v1, 0x7f1107fd

    .line 25
    invoke-virtual {p0, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p0

    const/4 v1, 0x0

    invoke-virtual {v0, p0, v1}, Lcom/estrongs/android/ui/dialog/a1;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/estrongs/android/ui/dialog/a1;

    .line 26
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/a1;->show()V

    .line 27
    invoke-virtual {p1}, Les/s80;->d()V

    return-void

    .line 28
    :cond_4
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v1

    const/16 v3, 0x64

    if-le v1, v3, :cond_5

    const p1, 0x7f110a16

    .line 29
    invoke-virtual {p0, p1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p0, p1, v0}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    return-void

    .line 30
    :cond_5
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.SEND_MULTIPLE"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const-string v1, "*/*"

    .line 31
    invoke-virtual {v0, v1}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;

    .line 32
    invoke-static {p1}, Lcom/estrongs/android/pop/utils/p;->b(Ljava/util/List;)Z

    move-result v1

    if-eqz v1, :cond_6

    const-string v1, "image/*"

    .line 33
    invoke-virtual {v0, v1}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_1

    .line 34
    :cond_6
    sget-boolean v1, Lcom/estrongs/android/pop/j;->r0:Z

    if-eqz v1, :cond_7

    invoke-static {p1}, Lcom/estrongs/android/pop/utils/p;->a(Ljava/util/List;)Z

    move-result v1

    if-eqz v1, :cond_7

    const-string v1, "audio/*"

    .line 35
    invoke-virtual {v0, v1}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;

    .line 36
    :cond_7
    :goto_1
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 37
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_2
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_8

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    .line 38
    new-instance v4, Ljava/io/File;

    invoke-direct {v4, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {p0, v4}, Lcom/estrongs/android/util/l;->a(Landroid/content/Context;Ljava/io/File;)Landroid/net/Uri;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_2

    :cond_8
    const-string p1, "android.intent.extra.STREAM"

    .line 39
    invoke-virtual {v0, p1, v1}, Landroid/content/Intent;->putParcelableArrayListExtra(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;

    const-string p1, "fromEs"

    .line 40
    invoke-virtual {v0, p1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const p1, 0x7f110072

    .line 41
    :try_start_0
    invoke-virtual {p0, p1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {v0, p1}, Landroid/content/Intent;->createChooser(Landroid/content/Intent;Ljava/lang/CharSequence;)Landroid/content/Intent;

    move-result-object p1

    .line 42
    invoke-virtual {p0, p1}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V
    :try_end_0
    .catch Landroid/content/ActivityNotFoundException; {:try_start_0 .. :try_end_0} :catch_1
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_3

    :catch_0
    move-exception p0

    .line 43
    invoke-virtual {p0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_3

    :catch_1
    move-exception p0

    .line 44
    invoke-virtual {p0}, Landroid/content/ActivityNotFoundException;->printStackTrace()V

    :cond_9
    :goto_3
    return-void
.end method
